<?php

use yii\helpers\Html;
use backend\assets\AppAsset;
use johnitvn\ajaxcrud\CrudAsset;
use yii\bootstrap\Modal;

$this->title = '修改文章: ' . ' ' . $model->title;
CrudAsset::register($this);
AppAsset::addScript($this,'/js/jquery-ui/jquery-ui.js');
?>
<div class="blog-update">
    <h1 class="text-center"><?php //Html::encode($this->title) ?></h1>
    <?= $this->render('_form', [
        'model' => $model,
        'msg' => $msg,
    ]) ?>
</div>

<?php Modal::begin([
    "id" => "ajaxCrudModal",
    "size" => "with200",
    "options" => ["tabindex" => ""],
    "footer" => "",
]);
$this->registerJs($js);

Modal::end();
?>
